package com.stone.cat;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * Created by 喵 on 2018/1/30.
 */


@SpringBootApplication
@EnableTransactionManagement
@ComponentScan(basePackages = {"com.stone.cat"})
@MapperScan(basePackages = {"com.stone.cat.persist.mybatis.mapper"})
public class Application {
    public static void main(String[] args) {
        SpringApplication application = new SpringApplication();
        application.run(Application.class,args);
    }
}
